<!DOCTYPE html>
<html lang="zh-cn">
    <head>
        <meta charset="utf-8">
        <title>设备编辑</title>
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta name="renderer" content="webkit">

        <link rel="shortcut icon" href="../../../extends/img/favicon.ico" />
        <!-- Loading Bootstrap -->
        <link href="../../../extends/css/main.css" rel="stylesheet">

        <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
        <!--[if lt IE 9]>
        <script src="../../../assets/html5shiv.min.js"></script>
        <script src="../../../assets/respond.min.js"></script>
        <![endif]-->
        <script type="text/javascript">
            var require = {
                "config": {
                    "site": {
                        "name": "xshop",
                        "cdnurl": "../../../",
                        "version": "1.0.0",
                        "timezone": "Asia/Shanghai",
                        "languages": {
                            "backend": "zh-cn",
                            "frontend": "zh-cn"
                        }
                    },
                    "upload": {
                        "cdnurl": "./",
                        "uploadurl": "data/upload.json",
                        "bucket": "yourbucketname",
                        "maxsize": "10mb",
                        "mimetype": "*",
                        "multipart": {
                            "policy": "eyJidWNrZXQiOiJ5b3VyYnVja2V0bmFtZSIsInNhdmUta2V5IjoiXC91cGxvYWRzXC97eWVhcn17bW9ufXtkYXl9XC97ZmlsZW1kNX17LnN1ZmZpeH0iLCJleHBpcmF0aW9uIjoxNTAwNTI2NTczLCJub3RpZnktdXJsIjoiaHR0cDpcL1wvd3d3LnlvdXJzaXRlLmNvbVwvdXB5dW5cL25vdGlmeSJ9",
                            "signature": "043eaf09c0319b1a9a11d06511bfdc4e",
                            "bucket": "yourbucketname",
                            "save-key": "/uploads/{year}{mon}{day}/{filemd5}{.suffix}",
                            "expiration": 1500526573,
                            "notify-url": "http://www.yoursite.com/upyun/notify"
                        },
                        "multiple": false
                    },
                    "modulename": "biz",
                    "controllername": "equipmentEdit",
                    "actionname": "edit",
                    "jsname": "main/js/biz/equipment",
                    "moduleurl": "./",
                    "language": "zh-cn",
                    "referer": null
                }
            };
        </script>
    </head>

    <body class="inside-header inside-aside is-dialog">
        <div id="main" role="main">
            <div class="tab-content tab-addtabs">
                <div id="content">
                    <div class="row">
                        <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
                            <div class="content">
                                <form id="edit-form" class="form-horizontal form-ajax" role="form" data-toggle="validator" method="POST" action="/equipment">
                        			<div id="errtips" class="hide"></div>
                        			<input type="hidden" name="id" />
                        			<input type="hidden" name="enable" />
	                                <div class="form-group col-xs-12 col-sm-12 col-md-12 col-lg-12">
	                                    <label class="control-label col-xs-12 col-sm-3">
	                                    	<span class="text-danger">*</span> 所属区域：
	                                    </label>
	                                    <div class="col-xs-12 col-sm-8 no-padding">
	                                    	<select name="areaId" class="form-control selectbox" data-rule="required">
			                                    <option value="">--请选择--</option>
	                                        </select>
	                                    </div>
	                                </div>
	                                
	                                <div class="form-group col-xs-12 col-sm-12 col-md-12 col-lg-12">
	                                    <label class="control-label col-xs-12 col-sm-3">
	                                    	<span class="text-danger">*</span> 所属楼栋：
	                                    </label>
	                                    <div class="col-xs-12 col-sm-8 no-padding">
	                                    	<select name="buildingId" class="form-control selectbox" data-rule="required">
			                                    <option value="">--请选择--</option>
	                                        </select>
	                                    </div>
	                                </div>
			                        
	                                <div class="form-group col-xs-12 col-sm-12 col-md-12 col-lg-12">
	                                    <label class="control-label col-xs-12 col-sm-3">
	                                    	<span class="text-danger">*</span> 设备类型：
	                                    </label>
	                                    <div class="col-xs-12 col-sm-8 no-padding">
	                                    		<select name="type" class="form-control">
	                                    			<option value="1">消防设备</option>
	                                    			<option value="2">照明设备</option>
	                                    			<option value="3">通风设备</option>
	                                    			<option value="4">其他设备</option>
	                                        	</select>
	                                    </div>
	                                </div>
	                                
	                                <div class="form-group col-xs-12 col-sm-12 col-md-12 col-lg-12">
			                            <label class="control-label col-xs-12 col-sm-3">
			                                <span class="text-danger">*</span> 设备名称：
			                            </label>
			                            <div class="col-xs-12 col-sm-8 no-padding">
			                                <input type="text" name="name" class="form-control" placeholder="请输入设备名称" data-rule="required">
			                            </div>
			                        </div>
	                                
	                                <div class="form-group col-xs-12 col-sm-12 col-md-12 col-lg-12">
			                            <label class="control-label col-xs-12 col-sm-3">
			                                设备编号：
			                            </label>
			                            <div class="col-xs-12 col-sm-8 no-padding">
			                                <input type="text" name="no" class="form-control" placeholder="请输入设备编号">
			                            </div>
			                        </div>
			                        
	                                <div class="form-group col-xs-12 col-sm-12 col-md-12 col-lg-12">
	                                    <label class="control-label col-xs-12 col-sm-3">
	                                    	<span class="text-danger">*</span> 设备状态：
	                                    </label>
	                                    <div class="col-xs-12 col-sm-8 no-padding">
	                                    		<select name="status" class="form-control">
	                                    			<option value="1">正常</option>
	                                    			<option value="2">异常</option>
	                                        	</select>
	                                    </div>
	                                </div>
			                        
	                                <div class="form-group col-xs-12 col-sm-12 col-md-12 col-lg-12">
	                                    <label class="control-label col-xs-12 col-sm-3">
	                                    	设备维护人：
	                                    </label>
	                                    <div class="col-xs-12 col-sm-8 no-padding">
			                                <input type="text" name="inspectorId" class="form-control" placeholder="请输入维护人姓名/手机号">
	                                    </div>
	                                </div>
			                        
	                                <div class="form-group col-xs-12 col-sm-12 col-md-12 col-lg-12">
	                                    <label class="control-label col-xs-12 col-sm-3">
	                                    	存放位置：
	                                    </label>
	                                    <div class="col-xs-12 col-sm-8 no-padding">
			                                <input type="text" name="location" class="form-control" placeholder="请输入存放位置">
	                                    </div>
	                                </div>
			                        
                                    <div class="form-group layer-footer">
                                        <label class="control-label col-xs-12 col-sm-2"></label>
                                        <div class="col-xs-12 col-sm-8">
                                            <button type="submit" class="btn btn-success btn-embossed disabled">确定</button>
                                            <button type="reset" class="btn btn-default btn-embossed">重置</button>
                                        </div>
                                    </div>
                                </form>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <script src="../../../assets/requirejs/require.js" data-main="../../../extends/js/main.js"></script>
    </body>
</html>